package com.ktwlsoft.archivemanage.payload.basic;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 重置密码
 *
 * @author zhuhe on 2019/10/24 17:49
 * @version 1.0
 */
@Api(value = "重置密码", description = "重置密码")
@Getter
@Setter
public class ResetPasswordRequest {

    /**账号*/
    @ApiModelProperty("账号")
    @NotNull(message = "账号不能为空")
    private String account;

    /**旧密码*/
    @ApiModelProperty("旧密码")
    @NotNull(message = "旧密码不能为空")
    private String oidPassword;

    /**新密码*/
    @ApiModelProperty("新密码")
    @NotNull(message = "新密码不能为空")
    private String newPassword;

    /**重复新密码*/
    @ApiModelProperty("重复新密码")
    @NotNull(message = "重复新密码不能为空")
    private String repeatNewPassword;
}